Vcenter Compute Policies CreateSpec
The Vcenter Compute Policies CreateSpec schema contains common information used to create a new policy.
This schema was added in vSphere API 7.0.3.0.
{
"capability": "string",
"name": "string",
"description": "string",
"managed_by": {
"entity": "string"
}
}
Identifier of the capability this policy is based on.
This property was added in vSphere API 7.0.3.0.
if missing or null, then the name of capability schema will be used to distinguish the policy type.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability.
Name of the policy. The name needs to be unique within this vCenter server.
This property was added in vSphere API 7.0.3.0.
Description of the policy.
This property was added in vSphere API 7.0.3.0.
Information about the entity that manages this policy.
This property identifies which entity is responsible for managing the policy and can influence operations such as delete. If missing or null, the policy is not managed by any specific entity. Any user with ComputePolicy.Manage privilege can manage the policy.
This property was added in vSphere API 9.1.0.0.
This property is optional because it was added in a newer version than its parent node.